// To use with PlayerPRO & CodeWarrior ( current vers 5.5)
//
// Antoine ROSSET
// 16 Tranchees
// 1206 GENEVA
// SWITZERLAND
//
// FAX: (+41 22) 346 11 97
// Compuserve: 100277,164
// Internet: rosset@dial.eunet.ch
//
// ***************** ***********************/
//
// Your main function have to be in this form:
// OSErr main( Ptr *InstrumentPtr, // the Instrument IN Ptr
// struct FileInstrData *theData, // Instrument informations, see MAD.h
// long SelectionStart, // SelectionStart
// long SelectionEnd, // SelectionEnd, your filter SHOULD apply his effect only on the selection
// PPInfoPlug *thePPInfoPlug) // Some functions of PlayerPRO that you can use in your plugs
//
//
// ***************** ***********************/
//
// If you want to reallocate InstrumentPtr:
//
// if( *InstrumentPtr != 0L) DisposPtr( *InstrumentPtr); // VERY IMPORTANT
// *InstrumentPtr = NewPtr( newsize); // Use NewPtr ONLY to allocate memory!
//
// theData->insSize = newsize; // In bytes !! Even for 16 bits !
//
// Don't forget to UPDATE the theData->insSize !!!!!!!!!!!!
//
// ***************** ***********************/
//
// About Resources:
//
// Your Plug should have: Creator: 'SNPL', Type: 'PLug'
//
// Your Plug have to have these resources:
//
// - One segment CODE 1000 with 68k Code ** You should NOT use the 68881 coprocessor **
// - One segment PPCC 1000 with PPC Code (OPTIONAL: if PlayerPRO in PPC cannot find it, it will use the CODE 1000 resource)
// - One STR# resource :
//
// 1 string: Menu Name (see Instrument window in PlayerPRO)
//
/******************** ***********************/
typedef struct
{
void *RPlaySoundUPP; // OSErr RPlaySound( Ptr whichSound, long SoundSize, long whichTrack, long Period, long Amplitude, long loopStart, long loopLength)
// RPlaySoundUPP : See Developper Toolkit documentation. Play a SoundPtr at a specific Period by using PlayerPRO Driver.
// UpdateALLWindow : Check all PlayerPRO windows and update them if need it.
// MyDlgFilterUPP : to use with a ModalDialog function: allow movable dialog, PlayerPRO windows updating, Item 1 Frame, Copy/Paste support, Key support